大写

题目 大写

image-eba9e52e

思路分析

我是不是看错题了?什么鬼

代码实现

#include<bits/stdc++.h>

using namespace std;

#define endl '\n'

int main()

{

	ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);

	string s;cin>>s;

	for(int i=0;i<s.size();i++){

		s[i]=toupper(s[i]);

	}

	cout<<s;

	return 0;

 }

同类题型

视频讲解


⬅️ 最小权值 🏠 00-冲刺国赛 ➡️ 123